#ifndef UTIL_H
#define UTIL_H

#include <d3dx9math.h>
#include <time.h>
#include "AABB.h"

namespace Util
{
	float GetRandomFloat(float lowBound, float highBound);
	DWORD FtoDw(float a_float);
	bool RayPick(ID3DXMesh* a_pMesh, D3DXMATRIX a_matWorld, float& a_outDist);
	void OutputToDebug(const char* a_pText, ...);
	bool BoxToBoxCollision(AABB a_lhs, AABB a_rhs);
}

#endif //UTIL_H